greets:
	@echo
	@echo valid targets are: resources, game, clean and all
	@echo

.rezo:
	echo balls


resources.swf: resources/resources.xml
	@ echo running swfmill
	@ cd resources ; /usr/bin/swfmill simple resources.xml ../resources.swf

resources: resources.swf

.FORCE:

game: .FORCE resources.swf
	@./bin/mochi_id.sh
	@haxe compile.hxml
	@echo ${PWD}/kit-kat-toe.swf

clean:
	@rm -f resources.swf kit-kat-toe.swf

all: resources game

